package com.eusoft.book_manage.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 返回对象的封装类
 * @author eusoft
 * @date 2021/10/20 9:06
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Result<T> {
    /**
     * 响应码
     */
    private Integer code;

    /**
     * 响应消息
     */
    private String mesage;

    /**
     * 响应数据
     */
    private T data;
}
